package Model;

public class Trainer extends PersoonDecorator {
		Team traintTeam;
		int niveau;
		
		public int getNiveau() {
			return niveau;
		}

		public void setNiveau(int niveau) {
			this.niveau = niveau;
		}

		public Team getTeam(){
			return traintTeam;
		}
		
		public void setTeam(Team t){
			traintTeam = t;
		}
		
		public Trainer(Persoon decoratedPersoon) {
			super(decoratedPersoon);
		}
		
		public String getBeschrijving(){
			return super.getBeschrijving() + " is trainer en traint team " + traintTeam.getTeamNummer() + " van vereniging " + traintTeam.getVereniging().getNaam() + " op niveau" + this.getNiveau() + "\n";
		}
		
	}